import request from '@/utils/request'

// 查询监控点列表
const monitorVideoList = function (params = {}) {
  return request({
    url: '/zy-api/api/VideoOnlineMonitoring/getList',
    method: 'post',
    data: params
  })
}

// 获取监控点预览取流URL
const monitorVideoUrl = function (params = {}) {
  return request({
    url: '/zy-api/api/video/previewURLs',
    method: 'post',
    data: params
  })
}

//change--焦誉暄
const resourcesByParams = function (params = {}){
  return request(
    {
      url: '/zy-api/api/video/resourcesByParams',
      method: 'post',
      data: params
    }
  )
}

export {
  monitorVideoList,
  monitorVideoUrl,
  resourcesByParams
}